package com.example.design.personal.visitor;

public class Client {

    public static void main(String[] args) {
        Action success = new Success();
        ObjectStructure objectStructure = new ObjectStructure();

        objectStructure.attach(new Man());
        objectStructure.attach(new Woman());
        objectStructure.display(success);

    }
}
